package test

import (
	"fmt"
	"reflect"
)

//实现的消息需要实现这个结构
type IMeg struct {
}

func (s IMeg) Sum(a interface{}, b interface{}) float64 {
	fmt.Println(reflect.TypeOf(a))
	return a.(float64) + b.(float64)
}
func (s IMeg) TowSum(a int, b int) int {
	return a + b
}
